package com.bestcem.xm.qdes.controller.param;

import com.bestcem.xm.common.core.domain.base.UserBaseInfo;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author guitao.lu
 * @version V1.0
 * @date 2022/8/1
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ProjectLibUpdateParam extends UserBaseInfo {
    @ApiModelProperty(value = "模板名称")
    private String title;

    @ApiModelProperty(value = "0-推荐的，1-我收藏的，不填就查所有", hidden = true)
    private Integer libType;

    @ApiModelProperty(value = "我收藏的")
    private Boolean like;

    @ApiModelProperty(value = "标签集合", name = "label_ids")
    @JsonProperty("label_ids")
    private List<TagLibParam> labels;

    @ApiModelProperty(value = "是否是公共库，true是公共库，false不是公共库", hidden = true)
    @JsonProperty("is_official")
    private Boolean isOfficial;
}
